package com.ithei.edu.info.manager.entry;

public class Test {
    public static void main(String[] args) {
        Student.school="传智专修学院";
        Student stu1=new Student();
        stu1.show();//null,0,传智专修学院
        Student stu2=new Student();
        stu2.school="传智大学";
        stu1.show();//null,0,传智大学
        stu2.show();//null,0,传智大学
        System.out.println(Student.school);//传智大学
    }
}
class Student{
    String name;
    int age;
    static String school;
    public void show(){
        System.out.println(this.name+","+this.age+","+school);
    }

}